package com.ftg.learn.chapter08.homework01.homework05;

/**
 * 测试
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/7/24 15:06
 */

public class Test1 {

    public static void main(String[] args) {
        Auto auto=new Car(4,"白色",100,40,"空调","cd1");
        System.out.println("车轮数："+auto.getNum()+"颜色是："+auto.getColor()+"重量为："+auto.getWeight()+"速度为"+auto.getSpeed());
        auto.jiansu();
    }
}
